package com.zhongwang.business.module.basic.dao;

import com.zhongwang.business.module.basic.model.DictEnumModel;
import com.zhongwang.business.module.basic.model.VerifyInfoModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface VerifyDao {


    int update(VerifyInfoModel verify);

    int save(VerifyInfoModel verify);

    int updateStatusById(@Param("id") Integer id, @Param("status") int status);

    List<DictEnumModel> findByGroupName(String groupName);

    List<VerifyInfoModel> findByCondition(VerifyInfoModel verify);

    List<VerifyInfoModel> selectTypes();

    List<VerifyInfoModel> selectLevel();
}
